package org.bright.service;

import org.bright.entity.User;

import java.io.IOException;
import java.util.List;

public interface AnimalService {
    int insertInto(User user) throws IOException;

    int updateUser(User user) throws IOException;

    int deleteUser(int id) throws IOException;

    List<User> getUsers() throws IOException;
}
